package models

import "gorm.io/gorm"

type Host struct {
	gorm.Model
	Hostname string `gorm:"size:255" json:"hostname"`
	Host     string `gorm:"size:255" json:"host"`
	Port     uint   `gorm:"size:255" json:"port"`
	Username string `gorm:"size:255" json:"username"`
	Password string `gorm:"size:255" json:"password"`
}

func (h *Host) TableName() string {
	return "host"
}
